﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="MemberDown.ascx.cs" Inherits="controls_front_MemberDown" %>

<div class="mod ml5">
  <div class="tt">
    <h3>下载中心</h3>
    <div class="more"><a href="~/download.aspx" runat="server" target="_blank"><img id="Img1" src="~/images/but_more.gif" alt="更多" width="35" height="25" border="0" runat="server"/></a></div>
  </div>
  <div class="cc">
	<ul>
    <asp:Repeater ID="downloadList" runat="server" >
        <ItemTemplate>
            <li>
                <asp:HyperLink NavigateUrl='<%# "~/fileOutput.aspx?id="+Eval("id")%>' runat="server" ID="downloadLink" 
                    ToolTip='<%#"名称：" + Eval("Title") + "\n积分：" + Eval("Score") + "\n更新时间：" + Eval("PublishDate") + "\n下载次数：" + Eval("DownloadCount")%>' Target="_blank">
                    <%# ((string)Eval("Title")).Length > 20 ? ((string)Eval("Title")).Substring(0,20)+"...": Eval("Title")%>
                </asp:HyperLink>
            </li>
        </ItemTemplate>
    </asp:Repeater>	
    </ul>
  </div>
</div>

